package com.bst.base.service.impl;

import java.util.List;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import com.bst.base.mapper.BaseReportParamFilterMapper;
import com.bst.base.domain.BaseReportParamFilter;
import com.bst.base.service.IBaseReportParamFilterService;
import com.bst.common.core.text.Convert;

/**
 * 报表参数过滤Service业务层处理
 * 
 * @author laoliu
 * @date 2024-10-30
 */
@Service
public class BaseReportParamFilterServiceImpl implements IBaseReportParamFilterService 
{
    @Autowired
    private BaseReportParamFilterMapper baseReportParamFilterMapper;

    /**
     * 查询报表参数过滤
     * 
     * @param idReportParamFilter 报表参数过滤主键
     * @return 报表参数过滤
     */
    @Override
    public BaseReportParamFilter selectBaseReportParamFilterByIdReportParamFilter(Long idReportParamFilter)
    {
        return baseReportParamFilterMapper.selectBaseReportParamFilterByIdReportParamFilter(idReportParamFilter);
    }

    /**
     * 查询报表参数过滤列表
     * 
     * @param baseReportParamFilter 报表参数过滤
     * @return 报表参数过滤
     */
    @Override
    public List<BaseReportParamFilter> selectBaseReportParamFilterList(BaseReportParamFilter baseReportParamFilter)
    {
        return baseReportParamFilterMapper.selectBaseReportParamFilterList(baseReportParamFilter);
    }

    /**
     * 新增报表参数过滤
     * 
     * @param baseReportParamFilter 报表参数过滤
     * @return 结果
     */
    @Override
    public int insertBaseReportParamFilter(BaseReportParamFilter baseReportParamFilter)
    {
        return baseReportParamFilterMapper.insertBaseReportParamFilter(baseReportParamFilter);
    }

    /**
     * 修改报表参数过滤
     * 
     * @param baseReportParamFilter 报表参数过滤
     * @return 结果
     */
    @Override
    public int updateBaseReportParamFilter(BaseReportParamFilter baseReportParamFilter)
    {
        return baseReportParamFilterMapper.updateBaseReportParamFilter(baseReportParamFilter);
    }

    /**
     * 删除报表参数过滤信息
     * 
     * @param idReportParamFilter 报表参数过滤主键
     * @return 结果
     */
    @Override
    public int deleteBaseReportParamFilterByIdReportParam(Long idReportParam)
    {
        return baseReportParamFilterMapper.deleteBaseReportParamFilterByIdReportParam(idReportParam);
    }
}
